package com.thesis.service;

import com.thesis.entity.SysAdmin;
import com.github.pagehelper.Page;

import java.util.List;

/**
 * Created by Anvy at 2020/3/10.
 */
public interface AdminService {

    int deleteByPrimaryKey(Long id);

    int insert(SysAdmin record);

    int insertSelective(SysAdmin record);

    SysAdmin selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysAdmin record);

    int updateByPrimaryKey(SysAdmin record);

    Page<SysAdmin> findPageList(SysAdmin record);

    Page<SysAdmin> findPageListByVague(SysAdmin queryParam, String vagueParam);

    Integer deleteBatchByIds(List<Integer> idList);

    List<SysAdmin> checkObj(SysAdmin record);

    SysAdmin findByMobile(String mobile);
}
